package enum03;

/**
 * java中利用enum关键字定义枚举
 *  格式:
 *      权限修饰符 enum 枚举名称{
 *          枚举常量1,枚举常量2,枚举常量3,...;
 *      }
 *     Java中利用enum定义的枚举的原理和我们自己模拟的枚举原理相同
 */
public enum Week {
    //相当于: public static final Week MONDAY = new Week("Monday");
    MONDAY,TUESDAY,WEDNESDAY,THURSDAY,
    FRIDAY,SATURDAY,SUNDAY;
}
